
	//头、尾、置顶插件
	createAll({Header:{container:"header",index:2},Footer:{container:"footer"},Suspend:{container:"body"}});
	//================================
	//轮播图
	var imgObj01 = {bigImg:"TED/img/loop0.jpg",backgroundColor:"#030404",smallImg:"TED/img/loopli0.jpg",span:{title:"TED",titleColor:"#970700",h2:"如何获得好点子？",p:"好点子不是苦思冥想出来的，而是被发现的。"}}
	var imgObj02 = {bigImg:"TED/img/loop1.jpg",backgroundColor:"#030404",smallImg:"TED/img/loopli1.jpg",span:{title:"TED",titleColor:"#970700",h2:"哲学",p:"他前的志愿是成为专业哲学家，以及理性思考的传播者"}}
	var imgObj03 = {bigImg:"TED/img/loop2.jpg",backgroundColor:"#030404",smallImg:"TED/img/loopli2.jpg",span:{title:"TED",titleColor:"#970700",h2:"直觉性AI的不可思议的发明",p:"当你给一个设计工具一个数码神经系统时，你会得到什么？"}}
	var imgObj04 = {bigImg:"TED/img/loop3.jpg",backgroundColor:"#030404",smallImg:"TED/img/loopli3.jpg",span:{title:"TED",titleColor:"#970700",h2:"公益带来的改变",p:"演讲者分享她的公益和慈善历程。"}};
	var imgObj05 = {bigImg:"TED/img/loop4.jpg",backgroundColor:"#030404",smallImg:"TED/img/loopli4.jpg",span:{title:"TED",titleColor:"#970700",h2:"想教好孩子们？先把他们喂好",p:"如果孩子处在饥饿或充满糖分缺少营养的饮食之中时，我们能够期待他们学到什么了？"}}
	var imgObj06 = {bigImg:"TED/img/loop5.jpg",backgroundColor:"#030404",smallImg:"TED/img/loopli5.jpg",span:{title:"TED",titleColor:"#970700",h2:"瘾是一种疾病",p:"鼓励百万在康复治疗中的美国人说出他们的故事，并抵抗药物滥用等疾病。"}}
	var imgObj07 = {bigImg:"TED/img/loop6.jpg",backgroundColor:"#030404",smallImg:"TED/img/loopli6.jpg",span:{title:"TED",titleColor:"#970700",h2:"决定梦想距离的，是你的决心",p:"放大自己的价值，缩小自己的位置。"}}
	
	var lis01 = [{text:"如何掌控你的自由时间",watch:"137.4万"},{text:"爱情应有的样子",watch:"86.9万"},{text:"请求的艺术",watch:"80.1万"},{text:"提升自信的技巧",watch:"65.0万"},{text:"什么是积极心理学？",watch:"59.8万"},{text:"提升英语听力的秘诀",watch:"53.3万"},{text:"马云斯坦福大学演讲：想法与技术可以改变世界",watch:"52.0万"},{text:"机器学习的动机与应用",watch:"51.3万"},{text:"导论：王阳明与阳明心学有的样子",watch:"40.5万"},{text:"如何成为一个更好的交谈者?",watch:"36.1万"}];
	var lis02 = [{text:"[科普微视频]14-发生煤气泄漏怎么办",watch:"120.2万"},{text:"[科普微视频]13-读懂台风预警信号",watch:"96.9万"},{text:"[科普微视频]12-电视省电妙招",watch:"85.1万"},{text:"[科普微视频]11-碳生活环保小方法",watch:"60.0万"},{text:"[科普微视频]10-大雾天如何安全行车",watch:"55.8万"},{text:"[科普微视频]9-大蒜真能鉴别地沟油吗",watch:"50.3万"},{text:"[科普微视频]8-吃东西前注意保质期",watch:"42.0万"},{text:"[科普微视频]7-城市内涝时如何避险自救",watch:"41.3万"},{text:"[科普微视频]6-踩踏事件中应如何自救",watch:"40.5万"},{text:"[科普微视频]4-补钙过量可能会导致肾",watch:"36.1万"}];
	var rightObj01 = {
		title:"热门排行",
		lis:lis01
	};
	var rightObj02 = {
		title:"TED简介",
		lis:lis02
	};
	var rightList = [rightObj01,rightObj02];
	
	var imgObjs = [imgObj01,imgObj02,imgObj03,imgObj04,imgObj05,imgObj06,imgObj07];
	var obj = {imgObjs:imgObjs,rightList:rightList,container:".top_loop"};
	createLoop(obj);
	//===============================================
	var li04={imgPath:"img/image(4).jpg",img_title:"你是哪种体型？",h3:"体型决定着你的健康"}
	var li05={imgPath:"img/image(5).jpg",img_title:"瘟疫医生的鸟嘴面具",h3:"17世纪的瘟疫医生"}
	var li06={imgPath:"img/image(6).jpg",img_title:"可怕的马桶圈！",h3:"公共厕所的马桶脏吗？"}
	var li07={imgPath:"img/image(7).jpg",img_title:"记录珊瑚礁的消失",h3:"追逐珊瑚"}
	var li08={imgPath:"img/image(8).jpg",img_title:"云层背后的“刀光剑影”",h3:"狂野天气"}
	var li09={imgPath:"img/image(9).jpg",img_title:"外国孩子的随意成长",h3:"19岁少年锻造大马士革刀"}
	var li10={imgPath:"img/image(10).jpg",img_title:"生活可以继续繁盛扩张",h3:"当死亡降临"}
	var li11={imgPath:"img/image(11).jpg",img_title:"不敢直视未来",h3:"未来一百年妆容演变"}
	var li12={imgPath:"img/image(12).jpg",img_title:"瘟疫医生的鸟嘴面具",h3:"17世纪的瘟疫医生"}
		
	var lis02_1=[li04];
	createComponent({container:"section .top .recommend .con01",lis:lis02_1,img_width:380,img_height:265});
	
	var lis02=[li05,li06,li07,li08,li09,li10,li11,li12];
	createComponent({container:"section .top .recommend .con",lis:lis02,img_width:180,img_height:100});
	
	//===========================
	//固定定位标题栏
	document.write("../js/jquery-1.11.0.js");
	fixed_nav(635);
	function fixed_nav(min_height) {
		var $nav_fixed = $("#nav_fixed");
		min_height ? min_height = min_height : min_height = 0;
		$(window).scroll(function () {
		    var s = $(window).scrollTop();
		    if (s > min_height) {
		        $nav_fixed.css({"position":"fixed","z-index":"100","top":"0"});
		    } else {
		        $nav_fixed.css("position","static");
		    };
		});
	};
	
	//=============================
	//主内容
	var lis03=[li05,li06,li07,li08,li09,li10,li11,li12,li10,li11,li12];
	createComponent({container:"section .content .content1",lis:lis03,img_width:180,img_height:100});
	
	
